[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ASK()           Asks the user a one line question

Description:
  ASK() prompts the user with a one line question and will return a one
  character repsone which can be limited to specific characters.  ASK()
  is non-screen destructive.


Syntax:     
  ASK( <expC1>, <expC2>, [, <expN1> [, <expN2>] ] )


Pass:       
  <expC1>  = Question to ask the (do not include the question mark)

  <expC2>  = List of acceptable characters (the first character in the
  list is used as the default answer)

  <expN1>  = Optional: Top row of window

  <expN2>  = Optional: Left coloumn of window


Return:     
  <expC>   = The key the user pressed


Notes:      


Example:    
  IF ASK("Continue","YyNn") $ "Nn"
     QUIT
  ENDIF


Usage:      
  ASK() is very useful for asking the user simply questions such as "Is
  the printer ready?", "Are you sure?", etc.

See Also: ASK2() DISPMSG() VWIND()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson